<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css-盒子模型</title>
    <style>
        .box-out {
            display: inline-block;
            border: 10px dashed yellowgreen;
            background-color: aqua;
        }

        .box-inner {
            width: 150px;
            height: 150px;
            background-color: red;
            border-width: 20px;
            border-style: dotted;
            border-color: blue;
            padding: 50px;
            margin: 50px;
            border-bottom: 40px solid black;
            padding-left: 10px;
        }
    </style>
</head>

<body>

    <div class="box-out">
        <div class="box-inner">内容文本</div>
    </div>

</body>

</html>